package com.headwind.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * @author : Headwind
 * @version : 1.0
 * @date : Created in 2020/8/10
 * @description : 用户实体
 */
@Entity(name = "hw_user")
public class HwUser implements Serializable {

    /**
     * 主键
     */
    @Id
    private String id;
    /**
     * 用户名
     */
    private String name;
    /**
     * 密码
     */
    private String password;
    /**
     * 邮箱
     */
    private String mail;

}
